Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eth_stm32: write PHY registers for fixed link #10

Draft
wants to merge 1 commit into
base: carbon/master-v2
Choose a base branch
from

Conversation

tristanseifert
Copy link

Various tweaks to the STM32 Ethernet driver to make it work more reliably in our use case:

  • Support resetting the PHY (via reset GPIO or soft reset)
  • Initialize PHY configuration for fixed link speeds
    • This is based on the existing Kconfig settings, rather than any configuration in the device tree.
  • Allow configuring Auto MDI-X

- If Kconfig for the STM32 Ethernet driver specifies a fixed link speed,
  write this to the PHY control registers when the driver is being
  initialized

- Allow disabling auto-MDIX and force a specific channel order
@tristanseifert tristanseifert force-pushed the tristans/stm32_ethernet_fixed_link_fixes branch from 6b576d0 to 21edeb8 Compare September 10, 2024 21:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant